\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc1\cf1 Q: How do I access the individual 'mounts' database entries using niutil? Because of the slashes in the property values, niutil doesn't seem to understand the input.\
\
A: Indeed, if you try something straightforward like:\
\fs24\fc0\cf0 \
\f1\fc1\cf1 niutil -read . /mounts//dev/sd0a\
\f0\fc0\cf0 \
\fs28\fc1\cf1 you get an error message such as\
\fs24\fc0\cf0 \
\f1\fc1\cf1 niutil: can't open .:/mounts//dev/rsd0a\
\f0\fc0\cf0 \
\fs28\fc1\cf1 because niutil is using / to separate properties. So, let's say we have the following:\
\fs24\fc0\cf0 \
\f1\fc1\cf1 % niutil -list . /mounts\
133 /dev/sd0a \
134 /dev/sd0b \
137 /dev/sd1a \
\f0\fc0\cf0 \
\fs28\fc1\cf1 and we want to execute niutil -read on the /dev/sd0a entry. We have to find some way to escape those slashes in the property value (“/dev/sd0a”) or we're sunk. The simple ways don't work:\